package com.investment.advisor.service;

import com.investment.advisor.dto.StrategyDTO;

import java.math.BigDecimal;
import java.util.List;

public interface StrategyService {
    List<StrategyDTO> getAllStrategies();
    StrategyDTO getStrategyById(Long id);
    List<StrategyDTO> searchStrategies(String keyword);
    List<StrategyDTO> getStrategiesByFactorId(Long factorId);
    StrategyDTO createStrategy(StrategyDTO strategyDTO);
    StrategyDTO updateStrategy(Long id, StrategyDTO strategyDTO);
    void deleteStrategy(Long id);
    void addFactorToStrategy(Long strategyId, Long factorId);
    void removeFactorFromStrategy(Long strategyId, Long factorId);
    void updateFactorWeight(Long strategyId, Long factorId, BigDecimal weight);
} 